/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.search.strategy.social;

import net.groupme.search.strategy.model.RankingPreferences;
import net.groupme.search.strategy.social.SocialPageRank.SPRPreference;
import net.groupme.search.strategy.social.SocialSimRank.SSRPreference;

/**
 * created on May 28, 2008
 * 
 * This class wraps the {@link SPRPreference} for SocialPageRank stuff.
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.1 $ $Date: 2008-05-28 16:13:38 $
 */
public class SPR_SSR_RankingPreferences implements RankingPreferences {

	/**generated UID */
	private static final long serialVersionUID = 6181682367141037440L;

	private SPRPreference sprPreferences = null;
	
	private SSRPreference ssrPreferences = null;
	
	private String tagOfInterest = null;

	/**
	 * Creates a new SPR_SSR_RankingStrategy instance.
	 * @param ssrPreferences 
	 */
	public SPR_SSR_RankingPreferences(SSRPreference ssrPreferences, String tagOfInterest) {
		super();
		this.ssrPreferences = ssrPreferences;
		this.tagOfInterest = tagOfInterest;
	}

	/**
	 * Creates a new SPR_SSR_RankingStrategy instance.
	 * @param sprPreferences
	 * @param ssrPreferences 
	 */
	public SPR_SSR_RankingPreferences(SPRPreference sprPreferences,
			SSRPreference ssrPreferences) {
		super();
		this.sprPreferences = sprPreferences;
		this.ssrPreferences = ssrPreferences;
	}

	/**
	 * Creates a new SocialPageRankRankingStrategy instance.
	 * @param sprPreferences 
	 */
	public SPR_SSR_RankingPreferences(SPRPreference sprPreferences) {
		super();
		this.sprPreferences = sprPreferences;
	}

	/**
	 * This method returns the sprPreferences of a SocialPageRankRankingStrategy object.
	 * @return the sprPreferences
	 */
	public SPRPreference getSprPreferences() {
		return sprPreferences;
	}

	/**
	 * This method sets the sprPreferences of a SocialPageRankRankingStrategy object.
	 * @param sprPreferences the sprPreferences to set
	 */
	public void setSprPreferences(SPRPreference sprPreferences) {
		this.sprPreferences = sprPreferences;
	}

	/**
	 * This method returns the ssrPreferences of a SPR_SSR_RankingStrategy object.
	 * @return the ssrPreferences
	 */
	public SSRPreference getSsrPreferences() {
		return ssrPreferences;
	}

	/**
	 * This method sets the ssrPreferences of a SPR_SSR_RankingStrategy object.
	 * @param ssrPreferences the ssrPreferences to set
	 */
	public void setSsrPreferences(SSRPreference ssrPreferences) {
		this.ssrPreferences = ssrPreferences;
	}

	/**
	 * This method returns the tagOfInterest of a SPR_SSR_RankingStrategy object.
	 * @return the tagOfInterest
	 */
	public String getTagOfInterest() {
		return tagOfInterest;
	}

	/**
	 * This method sets the tagOfInterest of a SPR_SSR_RankingStrategy object.
	 * @param tagOfInterest the tagOfInterest to set
	 */
	public void setTagOfInterest(String tagOfInterest) {
		this.tagOfInterest = tagOfInterest;
	}
}
